package com.party.core.dao.read.mall;

import com.party.core.dao.read.BaseReadDao;
import com.party.core.model.mall.MallProduct;
import com.party.core.model.mall.MallProductOutput;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 商城产品数据读取
 * Created by wei.li
 *
 * @date 2017/8/15 0015
 * @time 16:06
 */
@Repository
public interface MallProductReadDao extends BaseReadDao<MallProduct> {

    /**
     * 根据产品编号查询产品
     *
     * @param productId 产品编号
     * @return
     */
    MallProductOutput getProductById(@Param("productId") String productId);
}
